package com.wuhuahe.learning.lagou.service.dubbo.api;


import com.wuhuahe.learning.lagou.service.common.exception.CodeException;
import com.wuhuahe.learning.lagou.service.dubbo.api.protol.VerifyCode;

public interface CodeService {

    public VerifyCode createCode(String email) throws CodeException;

    public int validate(String email, String code) throws CodeException;
}
